package org.wedding.center.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.*;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.baomidou.mybatisplus.annotation.IdType;


/**
 * 服务类别表(wedding)实体类
 *
 * @author sky
 * @since 2025-07-05 19:35:45
 */
@Data
@NoArgsConstructor
@TableName(value = "service_type_info")
@AllArgsConstructor
@ToString
public class ServiceType implements Serializable {
    private static final long serialVersionUID = 1L;


    @Schema(description = "id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "名称")
    @TableField(value = "name")
    private String name;

    @Schema(description = "类型0：婚车租赁   1：婚纱礼服  2：化妆摄影  3：酒店婚房")
    @TableField(value = "type")
    private String type;

    @Schema(description = "服务款式/风格/规格")
    @TableField(value = "format")
    private String format;

    @Schema(description = "区间开始")
    @TableField(value = "price_start")
    private BigDecimal priceStart;

    @Schema(description = "区间结束")
    @TableField(value = "price_end")
    private BigDecimal priceEnd;

    @Schema(description = "用户id")
    @TableField(value = "user_id")
    private String userId;

    @Schema(description = "用户名")
    @TableField(value = "user_name")
    private String userName;

    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private String createTime;

    @Schema(description = "修改时间")
    @TableField(value = "update_time")
    private String updateTime;

    @Schema(description = "删除标识：0:未删除  1:已删除")
    @TableField(value = "del_flag")
    private String delFlag;

}
